package com.boot.config;

import com.boot.domain.Car4;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

/**
 * @author
 * @date 2025-07-28
 * @Description
 */
@EnableAutoConfiguration
//@Import(Car4.class)
//springboot针对于配置属性绑定，提供了一个单独的注解**@EnableConfigurationProperties**
//加载car4时，bean的名字默认是Car4上ConfigurationProperties指定的前缀+'-'+类全名
//car4-com.boot.domain.Car4
@EnableConfigurationProperties({Car4.class})
public class UpConfig4 {
}
